﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Vac_xin : System.Web.UI.Page
{
   TiemPhongDataContext db = new TiemPhongDataContext();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            loadDataListView();
        }
    }
    protected void loadDataListView()
    {
        var list = db.Vac_xins.ToList();
        this.ListViewVacxin.DataSource = list;
        this.ListViewVacxin.DataBind();
        //txtMVX.Enabled = false;
        //txtMVX.Text = loadMaVC();
    }
    protected void ListViewVacxin_OnItemCommand(object sender, ListViewCommandEventArgs e) { }
    protected void ListViewVacxin_OnItemDeleting(object sender, ListViewDeleteEventArgs e) { }
    protected void ListViewVacxin_OnItemUpdating(object sender, ListViewUpdateEventArgs e) { }
    }
